package com.ych.modules.base.dbEntity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * Author: Usopp.tsui
 * Date: 2020/12/5
 * Time: 16:02
 * Description:
 */
@Data
@TableName("r_user_info_sys_role")
@ApiModel(value = "RUserInfoSysRoleEntity", description = "数据库-用户-角色关联表")
public class RUserInfoSysRoleEntity implements Serializable {
    @TableId("id")
    @ApiModelProperty(value = "主键", dataType = "String", notes = "主键")
    private String id;

    @TableField("user_id")
    @ApiModelProperty(value = "用户id", dataType = "String", notes = "用户id")
    private String userId;

    @TableField("role_id")
    @ApiModelProperty(value = "角色id", dataType = "String", notes = "角色id")
    private String roleId;
}
